package javalession;

public class Lession4 {
	
	  System.out.println(total(1));

   public static int total(int day){
    if(day == 10)
        return 1;
    else
        return (total(day+1)+1)*2;
}
}


